package com.mezz.bones.im.common.enums;

import lombok.Getter;

/**
 * @Author: zhuang
 * @Date: 2025/5/12 14:07
 * @Description: IM回调事件枚举
 * @Version: 1.0
 **/
@Getter
public enum ImCallbackEventEnum {

    /**
     * 单聊消息发送前回调
     */
    PRIVATE_MESSAGE_BEFORE_SEND("private_message_before_send", "单聊消息发送前回调"),

    /**
     * 单聊消息发送后回调
     */
    PRIVATE_MESSAGE_AFTER_SEND("private_message_after_send", "单聊消息发送后回调"),

    /**
     * 群聊消息发送前回调
     */
    GROUP_MESSAGE_BEFORE_SEND("group_message_before_send", "群聊消息发送前回调"),

    /**
     * 群聊消息发送后回调
     */
    GROUP_MESSAGE_AFTER_SEND("group_message_after_send", "群聊消息发送后回调");

    /**
     * 事件类型
     */
    private final String type;

    /**
     * 事件描述
     */
    private final String desc;

    ImCallbackEventEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }
}
